learn how to evaluate the limit of a piecewise function